package com.baox.agridata.synchronous.dao.quanguo;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.quanguo.McQyxxs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface McQyxxsMapper {


    /**
     * 农业部：本省企业基本信息
     *
     * @return
     */
    @DS("quanguo")
    List<McQyxxs> getCenterQyxxsList(@Param("qylx") String qylx);


    /**
     * 农业部：批量插入本省企业基本信息
     * @param list
     * @return
     */
    @DS("quanguo")
    Integer batchInsertMcQyxxs(@Param("list") List<McQyxxs> list);


    /**
     * 农业部：批量更新本省企业基本信息
     * @param list
     * @return
     */
    @DS("quanguo")
    Integer batchUpdateMcQyxxs(@Param("list") List<McQyxxs> list);

}
